package com.wtoip.core.utils;

import java.io.Serializable;

/**
 * 字符串工具类
 * @author llx
 *
 */
public class StringUtil implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static boolean isEmpty(String str) {
		if(null == str || "".equals(str) || "".equals(str.trim())) 
			return true;
		return false;
	}
	
	public static boolean isNotEmpty(String str) {
		return !isEmpty(str);
	}
}
